package cn.cheqi.recovery.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 未入驻业主的实体类
 * </p>
 *
 * @author Robin
 * @since 2020-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_owner")
public class Owner implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 未入驻业主ID
     */
    @TableId(value = "owner_id", type = IdType.AUTO)
    private Long ownerId;

    /**
     * 未入驻业主姓名
     */
    private String ownerName;

    /**
     * 未入驻业主年龄
     */
    private Integer ownerAge;

    /**
     * 未入驻业主联系方式
     */
    private String ownerPhone;

    /**
     * 未入驻业主住址
     */
    private String ownerAddress;

    /**
     * 所属小区名字
     */
    private String communityName;

    /**
     * 所属小区ID
     */
    private Integer communityId;


}
